package com.example.run_game;


public class ChoicePair {
	public Checkpoint checkpoint;
	public double bearing;
	public String bonusType;
	public double weight;
	public boolean bonusUsed = false;
	
	ChoicePair(Checkpoint checkpointIn, String bonusTypeIn, double bearingIn)
	{
		checkpoint = checkpointIn;
		bearing = bearingIn;
		bonusType = bonusTypeIn;
	}
	
	public String getBonus(Choice currChoice)
	{
		if(bonusUsed)
			return "";
		bonusUsed = true;
		currChoice.ABonusRecieved();
		return bonusType;
	}
}
